package com.idatax.auth.dto;

import java.util.Map;
import java.util.HashMap;

public class AuthResult {
    private boolean authenticated;
    private Map<String, Object> claims;

    public AuthResult(boolean authenticated, Map<String, Object> claims) {
        this.authenticated = authenticated;
        this.claims = claims != null ? claims : new HashMap<>();
    }

    public boolean isAuthenticated() {
        return authenticated;
    }

    public Map<String, Object> getClaims() {
        return claims;
    }
}
